package cn.edu.njuit.springbootdemo.javabean.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class ArticleDTO {
    private Long id;
    @NotEmpty(message = "请输入标题")
    private String title;
}
